﻿using System;
using System.Collections.Generic;
using System.Text;

namespace UtilZ.Dotnet.Ex.Communication.Base
{
    /// <summary>
    /// 连接状态改变事件参数基类
    /// </summary>
    public abstract class ConnectionChangedArgsAbs : EventArgs
    {
        /// <summary>
        /// 状态
        /// </summary>
        public ConnectionStatus Status { get; private set; }

        /// <summary>
        /// 构造函数
        /// </summary>
        /// <param name="status">状态</param>
        public ConnectionChangedArgsAbs(ConnectionStatus status)
        {
            this.Status = status;
        }
    }
}
